package com.sjq.supplier.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Admininfo)实体类
 *
 * @author makejava
 * @since 2024-01-02 14:54:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admininfo implements Serializable {
    private static final long serialVersionUID = 244186331863344850L;
    /**
     * 管理员ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 账号
     */
    private String account;
    /**
     * 密码
     */
    private String password;
    /**
     * 名称
     */
    private String username;
    /**
     * 1有效2无效
     */
    private Integer isvalid;
    /**
     * 1管理员2供应商
     */
    private Integer role;


}
